//
//  BaseVCNoneDataView.m
//  ZITHER
//
//  Created by imac on 2018/2/3.
//  Copyright © 2018年 MS1968. All rights reserved.
//

#import "BaseVCNoneDataView.h"
@interface BaseVCNoneDataView ()

@end
@implementation BaseVCNoneDataView
- (void)awakeFromNib {
    [super awakeFromNib];
    
    // .length >0 ?self.title :@"出现网络错误,请重试";
}
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil] objectAtIndex:0];
        self.frame = frame;
        
    }
    return self;
}
#pragma mark - Setter
- (void)setMidButton:(QMUIButton *)midButton {
    _midButton = midButton;
    [_midButton setGradientBackgroundWithColors:[UIColor defaultGradientBackgroundColors] locations:nil startPoint:CGPointZero endPoint:CGPointMake(0, 1)];
}
@end
